﻿namespace FallingRocks  // TODO MARTO
{
    using System;

    public interface IUserInterface
    {
        // while in game
        event EventHandler OnLeftPressed;   // by default = LeftArrow  and A

        event EventHandler OnRightPressed;  // by default = RightArrow and D

        event EventHandler OnActionPressed; // by default = Space and Z

        event EventHandler OnPausePressed;  // by default = P and Pause/Break

        event EventHandler OnMenuPressed; // Def Escape

        // while in the menu
        event EventHandler OnMenuUpPressed;     // up in menu

        event EventHandler OnMenuDownPressed;   // down in menu

        event EventHandler OnMenuSelectPressed; // select from menu

        event EventHandler OnQuitMenuPressed;   // quit menu of last going to add bool ToMenuWhileGaming = true/false;

        // while in pause
        event EventHandler OnQuitPausePressed;  // quit pause

        void ProcessInput();
    }
}
